package com.ming_za.od_updater_sdk.obj;

/**
 * 资源信息存储对象
 */
public class Res {

    /**
     * 资源id
     */
    private final long id;
    /**
     * 资源应该存在于客户端的相对路径
     */
    private final String resPath;

    /**
     * 是否为删除类型的更新
     */
    private final boolean delete;

    public Res(long id, String resPath, boolean delete) {
        this.id = id;
        this.resPath = resPath;
        this.delete = delete;
    }

    public long getId() {
        return id;
    }

    public String getResPath() {
        return resPath;
    }

    public boolean isDelete() {
        return delete;
    }
}
